From ec981fd237a50dfc547d8c162b22f4e1a691c9fc Mon Sep 17 00:00:00 2001
From: Sebastien Castiel <sebastien@castiel.me>
Date: Wed, 6 Dec 2023 21:07:51 -0500
Subject: Improve responsiveness

---
 src/app/groups/[groupId]/balances-list.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/app/groups/[groupId]/balances-list.tsx')

diff --git a/src/app/groups/[groupId]/balances-list.tsx b/src/app/groups/[groupId]/balances-list.tsx
index c0d48b9..26092ec 100644
--- a/src/app/groups/[groupId]/balances-list.tsx
+++ b/src/app/groups/[groupId]/balances-list.tsx
@@ -20,13 +20,13 @@ export function BalancesList({ balances, participants, currency }: Props) {
           key={participant.id}
           className={cn(
             'flex',
-            balances[participant.id]?.total > 0 || 'flex-row-reverse',
+            balances[participant.id]?.total >= 0 || 'flex-row-reverse',
           )}
         >
           <div
             className={cn(
               'w-1/2 p-2',
-              balances[participant.id]?.total > 0 && 'text-right',
+              balances[participant.id]?.total >= 0 && 'text-right',
             )}
           >
             {participant.name}
@@ -34,7 +34,7 @@ export function BalancesList({ balances, participants, currency }: Props) {
           <div
             className={cn(
               'w-1/2 relative',
-              balances[participant.id]?.total > 0 || 'text-right',
+              balances[participant.id]?.total >= 0 || 'text-right',
             )}
           >
             <div className="absolute inset-0 p-2 z-20">
-- 
cgit v1.3

